import React, { Component, PropTypes } from 'react'
import { Modal, Icon, InputItem, Picker, List, Checkbox } from 'antd-mobile'
import { RegisterFormWrapper } from './'
import { NavHeader } from '../common'

export default class RegisterForm extends Component {
  render() {
    const { visible, onClose } = this.props
    return (
      <Modal
        visible={visible}
        closable={false}
        className={`rt-register-form-modal`}
        animated={false}
      >
        <NavHeader title="注册" onClick={onClose} />

        <RegisterFormWrapper />

      </Modal>
    )
  }
}

RegisterForm.propTypes = {
  visible: PropTypes.bool.isRequired,
  onClose: PropTypes.func.isRequired,
}